.modal {
    perspective: 800px;
    width: 100%;
    height: 90%;
    position: fixed;
    top: 10%;
}
.modal .content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(0%) translateX(-50%) rotateX(-25deg);
    background: #fff;
    width: 450px;
    padding: 50px;
    box-sizing: border-box;
    border-radius: 2px;
    text-align: center;
    opacity: 0;
    transition: all .8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.modal .content p{
    font-size: 20px;
}
.modal.animate .content {
    transform: translateY(-50%) translateX(-50%) rotateX(0deg);
    opacity: 1;
}
.modal .content * {
    opacity: 0;
    transition: all .6s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.modal.animate .content * {
    opacity: 1;
    transition-delay: .5s;
}
.modal.animate .content button {
    transition-delay: 1s;
}


.trigger {
    background: #fff;
	background: transparent;
    border: 1px solid black;
    padding: 10px 15px;
    text-transform: uppercase;
    margin-top: 20px;
}